{% extends "blog/base.html" %}

{% block title %}
    我的第一个博客
{% endblock %}

{% block content %}
<h1>My Blog List</h1>
  {% for post in posts %}
  <h2><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></h2>
  <p>Published {{ post.published }} by {{ post.author }}</p>
  {% endfor %}
    {% include 'blog/post/pagination.html' %}
{% endblock %}